package com.coder.rental.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: zhanglin
 * @description:   前端需要响应回来的用户信息
 * @date 2025/3/30
 */
@Data
@AllArgsConstructor  //有参构造
@NoArgsConstructor   //无参构造
//Serializable是序列化,把对象转化为字节流可存储在文件中
public class UserInfoVo implements Serializable {
    private Integer id;
    private String name;
    private String avator;
    private String introduction;
    private Object[] roles;
}
